//sets testapp comment
package com.collections;

import java.util.LinkedHashSet;

public class SetsTestApp {

	
	public static void main(String[] args) {
		
		LinkedHashSet hs=new LinkedHashSet();
		LinkedHashSet hs1=new LinkedHashSet();
		
		hs.add(111);
		hs.add(418);
		hs.add("Siva");
		hs.add('A');
		hs.add(null);
		hs.add(null);
		hs.add(418);
		hs1.add(444);
		hs.add(hs.hashCode());
		System.out.println("LinkedLinkedHashSet..."+hs);
		System.out.println("addall...."+hs1.addAll(hs));
		System.out.println("hs1...."+hs1);
		System.out.println("equals().."+hs.equals(hs1));
		System.out.println("retainAll(Collection<?> c)..."+hs.retainAll(hs1));
	}

}
